package com.atguigu.tingshu.user.service;

import com.atguigu.tingshu.model.user.UserInfo;
import com.atguigu.tingshu.vo.user.UserInfoVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

public interface UserInfoService extends IService<UserInfo> {

    public abstract String wxLogin(String code);

    UserInfo getUserInfo();

    public abstract void updateUser(UserInfoVo userInfoVo);

    public abstract Map<Long, Long> userIsPaidTrack(Long userId,Long albumId, List<Long> trackIdList);

    public abstract Boolean isPaidAlbum(Long albumId, Long userId);

    public abstract List<Long> findUserPaidTrackList(Long albumId);
}
